let b = {};
Object.defineProperty(b,'age',{
    value:18,
    enumerable:false
});

<button click="serveragent.invoke($confirm$,asdfasdf)"

showPage:{
    let str=load("a.xml");
    str.bindMethod("confirm",method1);
    db.save(....);
    await client.interact("popup")
}
let pageList = {

};

let client = {
    showPage:(data)=>{
        new Promise((res,rej)=>{
            pageList["1"] = data;
        }).then(res=>{
            pageList.delte(data);
        })
    }
};
{
    forget()
}

async function n() {
    pageA;
    click=new promise((res)=>
    {
        let method1 = naive.expose(() => {
            res();
        });
        pageA=clientchance.addPage("a.xml", {"confirm":method1});
    });
    await click();
    pageA.forget
}